package com.wanxi.api;

import java.util.Objects;
import java.util.Random;

public class MyTest {
    public static void main(String[] args) {
//        MyMath myMath = new MyMath("");
//        MyMath.max(1,3);
//        System.out.println(Math.max(1, 3));
//        System.out.println(Math.round(-1.5));
//        System.out.println(Math.abs(-2));
//        Random random = new Random();
//        random.nextInt(10);
//        MyMath.avg(1, 3, 5, 6, 7, 3, 4, 9);
//        System.out.println(new Child("a"));
//        System.out.println(new Child().equals(new Child()));
//        String s = "abc";
//        String a = "a" + "b" + "c";
//        String c = "ab";
//        c = "ab";
//        c="aa";
//        String d = new String("c");
//        System.out.println(s.equals(c + d));
//        StringBuilder sb = new StringBuilder("abc");
//        StringBuffer
//        System.out.println(s.equals(sb.toString()));
        Child aa = new Child("aa");
        System.out.println(aa);
//        System.out.println(Objects.toString(aa, "ab"));
    }
}
